/*
Copyright (c) [2019年5月1日] [吴超]
[MBT_Studio] is licensed under Mulan PSL v2.
You can use this software according to the terms and conditions of the Mulan PSL v2.
You may obtain a copy of Mulan PSL v2 at:
		 http://license.coscl.org.cn/MulanPSL2
THIS SOFTWARE IS PROVIDED ON AN "AS IS" BASIS, WITHOUT WARRANTIES OF ANY KIND,
EITHER EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO NON-INFRINGEMENT,
MERCHANTABILITY OR FIT FOR A PARTICULAR PURPOSE.
See the Mulan PSL v2 for more details.
*/
#pragma once

#include <几何图形/图形相交.h>

#include "物体/物体.h"
#include "core/引擎配置.h"
#include "S_Scene.h"


S_物体拾取信息 f_pick_射线拾取网格面(
	S_物体* ob
	, const Mat44f& mat
	, const vec3& s
	, const vec3& dir
	, S_Mesh* mesh
	//float32 范围距离
	);


float32 f_pick_模型拾取(S_Mesh* mesh, const vec3& s, const vec3& dir, const Mat44f& mat, uint32 网格层, const S_摄像机& camera);












